import Vuex from 'vuex'
import Vue from 'vue'

import homeAbout from '../pages/Home/homeStore/homeAbout.js'
import searchAbout from '../pages/Search/searchStore/searchAbout.js'
import loginAbout from '../pages/Login/loginStore/loginAbout.js'
import registerAbout from '../pages/Register/registerStore/registerAbout.js'
import detailAbout from '../pages/Detail/detailStore/detailAbout'
import shoppingCarAbout from '../pages/ShoppingCar/shoppingCarStore/shoppingCarAbout'
Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    homeAbout,
    searchAbout,
    loginAbout,
    registerAbout,
    detailAbout,
    shoppingCarAbout
  }
})
